<template>
  <div class="swipe">
  <mt-swipe :auto="3000">
  <mt-swipe-item v-for="item in itemList" :key="item.id">
    <img :src="item.img">
  </mt-swipe-item>
</mt-swipe>

  </div>
</template>

<script>
export default {
  props: ['itemList']
}
</script>

<style lang="scss" scoped>
.mint-swipe{
  height: 150px;
  color: #fff;
  .mint-swipe-items-wrap{
    .mint-swipe-item{
    text-align: center;
    }
    img{
      width: 100%;
      height: 100%;
    }
  }
}
</style>
